package com.spring.mvc.pojo;

import java.io.Serializable;

/**
 * storage user info
 * @author Administrator
 *
 */
@SuppressWarnings("serial")
public class User implements Serializable {

	private int id;//用户ID
	private String userName;//用户名
	private String userPwd;//用户密码
	private String ipAddr;//用户最后一次登录IP
	private String createTime;//用户注册时间
	private String email;//用户邮箱
	private int age;//用户年龄
	private String address;//用户地址
	private String phone;//用户手机号码
	private String mobile;//用户电话号码
	private String remark;//备注
	private String userPwd2;//确认密码
	private String checkCode;//验证码
	private String headImg;//用户头像
	
	public void setHeadImg(String headImg) {
		this.headImg = headImg;
	}
	public String getHeadImg() {
		return headImg;
	}
	public void setCheckCode(String checkCode) {
		this.checkCode = checkCode;
	}
	public String getCheckCode() {
		return checkCode;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getUserPwd2() {
		return userPwd2;
	}
	public void setUserPwd2(String userPwd2) {
		this.userPwd2 = userPwd2;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getIpAddr() {
		return ipAddr;
	}
	public void setIpAddr(String ipAddr) {
		this.ipAddr = ipAddr;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserPwd() {
		return userPwd;
	}
	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	@Override
	public String toString() {
		return "User [address=" + address + ", age=" + age + ", createTime="
				+ createTime + ", email=" + email + ", id=" + id + ", ipAddr="
				+ ipAddr + ", mobile=" + mobile + ", phone=" + phone
				+ ", remark=" + remark + ", userName=" + userName
				+ ", userPwd=" + userPwd + ", userPwd2=" + userPwd2 + "]";
	}
}
